package com.gylang.passport.enums;

import com.gylang.common.constant.CommonConstant;
import lombok.AllArgsConstructor;
import lombok.Getter;

/**
 * 用户登录业务匹配枚举
 *
 * @author gylang
 * data 2021/1/8
 */
@AllArgsConstructor
@Getter
public enum LoginMapping {
    /** 管理员登录 */
    SYS_USER_LOGIN("SYS", "SYS_LOGIN");

    private final String channel;
    private final String type;

    public String bizKey() {

        return channel + CommonConstant.SPLIT_STR + type;
    }
}
